//------------------------------------------------------------------------------
// <copyright file="CloseWindowAction.cs" company="Damian Antonowicz">
//       copyright © 2010 Damian Antonowicz
// </copyright>
// <author>Damian Antonowicz</author>
// <email>poczta@damianantonowicz.pl</email>
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Interactivity;
using System.Windows;

namespace DotBeer.UI.WPFClient.Behaviors
{
    public class CloseWindowAction : TargetedTriggerAction<Window>
    {
        protected override void Invoke(object parameter)
        {
            this.Target.Close();
        }
    }
}
